package com.motong.gongdan.vo.H5Vo.common;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.motong.gongdan.vo.system.common.vo.VoiceCallsInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;


@Data
@NoArgsConstructor
@ApiModel("列表数据类型数量通用返回")
@Accessors(chain = true)
public class ListTypeCountVo<T> {

//    @ApiModelProperty("类型数量映射")
//    private Map<String, Long> typeCountData;

    @ApiModelProperty("提醒信息")
    private List<VoiceCallsInfo> voiceCallsInfos;

    @ApiModelProperty("类型数量数据")
    private List<GroupCountVo> typeCountData;

    @ApiModelProperty("列表数据")
    private Page<T> listData;

    @ApiModelProperty("看板二级分组参数名称")
    private String secondGroupColumnName;

    @ApiModelProperty("'全部'选项条数")
    private Long totalOptionNum;

    public ListTypeCountVo(List<GroupCountVo> typeCountData, Page<T> listData) {
        this.typeCountData = typeCountData;
        this.listData = listData;
    }
}
